From: Xiaofeng Wang Date: Tue, 31 Mar 2026 07:12:05 +0000 (+0800) Subject: tests/inst: Remove unused Kill9Stats and RebootStats structs X-Git-Tag: archive/raspbian/2026.2-1+rpi1~1^2~10^2^2~4^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=369e2c359cb2f9ddc56eb3ccacc974ee2fa54051;p=ostree.git tests/inst: Remove unused Kill9Stats and RebootStats structs These structs were never constructed, flagged by cargo clippy with -Ddead_code. Co-Authored-By: Claude Opus 4.6 Signed-off-by: Xiaofeng Wang --- diff --git a/tests/inst/src/destructive.rs b/tests/inst/src/destructive.rs index 5a89bd0d..2668cf2e 100644 --- a/tests/inst/src/destructive.rs +++ b/tests/inst/src/destructive.rs @@ -186,19 +186,6 @@ struct TransactionalTestInfo { cycle_time: time::Duration, } -#[derive(Serialize, Deserialize, Debug, Default)] -struct Kill9Stats { - interrupted: u32, - staged: u32, - success: u32, -} - -#[derive(Serialize, Deserialize, Debug, Default)] -struct RebootStats { - interrupted: u32, - success: u32, -} - fn upgrade_and_finalize() -> Result<()> { bash!( "rpm-ostree upgrade